import dayjs from 'dayjs';
export default [
  {
    title: '生产型号',
    key: 'moduleNo'
  },
  {
    title: '录入时间',
    key: 'modifyTime',
    customRender: row => {
      return dayjs(row.modifyTime).format('YYYY-MM-DD HH:mm:ss');
    }
  },
  {
    title: '检验类型',
    key: 'inspectType'
  },
  {
    title: '检验数量(PNL)',
    key: 'quantity'
  },
  {
    title: '工程图变更检查',
    key: 'drawingChangeChecks'
  },
  {
    title: '物料厂商',
    key: 'factory'
  },
  {
    title: '板材型号',
    key: 'plateModel'
  },
  {
    title: 'TG值',
    key: 'tgNumber'
  },
  {
    title: '板材类型(要求)',
    key: 'plateType'
  },
  {
    title: '板材类型(实际)',
    key: 'plateActualType'
  },
  {
    title: '板厚(mm)(要求)',
    key: 'cuttingThickness'
  },
  {
    title: '板厚(mm)(实测)',
    key: 'plateThicknessActualValue'
  },
  {
    title: '铜箔厚度(oz)(要求)',
    key: 'cuttingCopper'
  },
  {
    title: '铜箔厚度(um)(实测)',
    key: 'foilThicknessActualValue1'
  },
  {
    title: '开料尺寸(±1mm)(要求)',
    key: 'cuttingSize'
  },
  {
    title: '开料尺寸(±1mm)(实测)',
    key: 'cuttingSizeActualValue'
  },
  {
    title: '判定',
    key: 'result'
  },
  {
    title: '不良数',
    key: 'ngNum'
  },
  {
    title: '不良率',
    key: 'ngRatio'
  },
  {
    title: '班别',
    key: 'shiftType',
    customRender: row => {
      return ['白班', '夜班'][row.shiftType];
    }
  },
  {
    title: '检验人',
    key: 'operator'
  },
  {
    title: '审核人',
    key: 'checker'
  },
  {
    title: '审核时间',
    key: 'checkTime'
  },
  {
    title: '系统MI无卤素要求',
    key: 'cuttingHasHalogen'
  },
  {
    title: '备注',
    key: 'remark'
  }
];
